'use strict';
function map_to_even(collection){
   let arr=[];
   for(let item of collection){
     let a=item*2;
     arr.push(a);
   }
   console.log(arr);
   return arr;
  // return [2,4,6,8,10];
}
module.exports = map_to_even;
